package com.terry.proxy.application.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.terry.proxy.application.dao.ProxyClientTunnelDao;
import com.terry.proxy.application.entity.ProxyClientTunnel;
import com.terry.proxy.application.service.ProxyClientTunnelService;
import org.apache.ibatis.session.SqlSession;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 客户端隧道(ProxyClientTunnel)表服务实现类
 *
 * @author terry
 * @since 2022-12-08 20:54:22
 */
@Service("proxyClientTunnelService")
public class ProxyClientTunnelServiceImpl extends ServiceImpl<ProxyClientTunnelDao, ProxyClientTunnel> implements ProxyClientTunnelService {

    @Resource
    ProxyClientTunnelDao proxyClientTunnelDao;

    @Override
    public int getMaxPort(){
        return proxyClientTunnelDao.getMaxPort();
    }
}

